package com.nbicc.ad.po;

import com.nbicc.news.po.NewsInfo;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.util.Date;

/**
 * @Author: lilingyan
 * @Date 2018/8/2 12:57
 */
@Data
public class AdInstance {

    public final static String TABLE_NEWS_INFO = "ad_instance";

    @ApiModelProperty(value="id")
    private String id;
    @ApiModelProperty(value="所属类目id")
    public final static String T_CAT_ID = "cat_id";
    private String catId;
    @ApiModelProperty(value="广告标题")
    public final static String T_TITLE = "title";
    private String title;
    @ApiModelProperty(value="图片")
    private String image;
    @ApiModelProperty(value="描述")
    private String description;
    @ApiModelProperty(value="跳转路径")
    private String targetUrl;
    @ApiModelProperty(value="起始时间")
    public final static String T_START_TIME = "start_time";
    private Date startTime;
    @ApiModelProperty(value="结束时间")
    public final static String T_STOP_TIME = "stop_time";
    private Date stopTime;
    @ApiModelProperty(value="排序顺序" )
    public final static String T_INDEX= "`index`";
    private Integer index;
    @ApiModelProperty(value="录入时间")
    private Date createTime;

    private NewsInfo newsInfo;

}
